CREATE EXTERNAL TABLE IF NOT EXISTS spmi_ods.spmi_intercept_piece_network(
id                                                 bigint                         COMMENT '主键ID',
fee_id                                             bigint                         COMMENT '报��ID',
piece_network_id                                   bigint                         COMMENT '派件网点ID',
piece_network_code                                 String                         COMMENT '派件网点编码',
piece_network_name                                 String                         COMMENT '派件网点名称'
)
COMMENT '截留派费-派件网点关系表'
PARTITIONED BY (dt STRING COMMENT '更新/创建日期 (yyyy-MM-dd)')
STORED AS PARQUET
LOCATION '/dw/hive/spmi_ods.db/external/spmi_intercept_piece_network'
TBLPROPERTIES (
  'parquet.column.index.access'='true'
);
